package Test4;

/*
1,有一个水果销售摊位,销售3种水果,重量和单价各不相同,实现多次的销售业务
2,销售时如果为顾客为女性销售金额打8折
3,显示当前各种水果的库存数
4,查询全部销售记录信息
5,加入其它水果品种
6,添加进货单
7,查询指定日期间隔的销售纯利润
8,每日17:00之后为5折特价
9,按销售数量排序显示前三名
10,示当前各种水果的库存数,成本单价,单价,累计销售数量/金额,累计进货数量/金额
 */





public class Record {


	
private String name;  //水果种类
private double weight;//销售数量

private double profit; // 利润
private String time; //销售时间段
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public double getWeight() {
	return weight;
}
public void setWeight(double weight) {
	this.weight = weight;
}
public double getProfit() {
	return profit;
}
public void setProfit(double profit) {
	this.profit = profit;
}
public String getTime() {
	return time;
}
public void setTime(String time) {
	this.time = time;
}
@Override
public String toString() {
	return "Record [name=" + name + ", weight=" + weight + ", profit=" + profit + ", time=" + time + "]";
}
public Record(String name, double weight, double profit, String time) {
	super();
	this.name = name;
	this.weight = weight;
	this.profit = profit;
	this.time = time;
}
public Record() {
	super();
	// TODO Auto-generated constructor stub
}

}
